package ai.people.platform.archives.mapper;

import ai.people.netmon.framework.domain.archives.entity.ClueShareRecord;
import ai.people.netmon.framework.domain.archives.entity.ClueShareRecordArchives;
import ai.people.netmon.framework.domain.archives.request.ClueSharedRecordListRequest;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhenglin
 * @since 2022-05-31
 */
@Mapper
public interface ClueShareRecordMapper extends BaseMapper<ClueShareRecord> {

    Page<ClueShareRecordArchives> pageCustom(Page<ClueShareRecord> page, ClueSharedRecordListRequest request);

    List<ClueShareRecord> listByClueIdCustom(Long clueId);

}
